package com.weharvest.edu.entity;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Entity
@Data
@DynamicUpdate
public class BackstageUser {
    @Id
    private String id;
    private String name;
    private String password;
    private String openid;
    private String organizationId;
    private String roleId;
    private Date createTime;
    private Date updateTime;
    private Integer state;
    private String flag;

}
